home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / lib.fmt / c / initgroups.man < prev    next >
Encoding:
Text File  |  1989-10-23  |  1.2 KB  |  67 lines

  1.  
  2.  
  3.  
  4. INITGROUPS            C Library Procedures             INITGROUPS
  5.  
  6.  
  7.  
  8. NNAAMMEE
  9.      initgroups - initialize group access list
  10.  
  11. SSYYNNOOPPSSIISS
  12.      iinniittggrroouuppss((nnaammee,, bbaasseeggiidd))
  13.      cchhaarr **nnaammee;;
  14.      iinntt bbaasseeggiidd;;
  15.  
  16. DDEESSCCRRIIPPTTIIOONN
  17.      _I_n_i_t_g_r_o_u_p_s reads through the group file and sets up, using
  18.      the _s_e_t_g_r_o_u_p_s(2) call, the group access list for the user
  19.      specified in _n_a_m_e.  The _b_a_s_e_g_i_d is automatically included in
  20.      the groups list.  Typically this value is given as the group
  21.      number from the password file.
  22.  
  23. FFIILLEESS
  24.      /etc/group
  25.  
  26. SSEEEE AALLSSOO
  27.      setgroups(2)
  28.  
  29. DDIIAAGGNNOOSSTTIICCSS
  30.      _I_n_i_t_g_r_o_u_p_s returns -1 if it was not invoked by the super-
  31.      user.
  32.  
  33. BBUUGGSS
  34.      _I_n_i_t_g_r_o_u_p_s uses the routines based on _g_e_t_g_r_e_n_t(3).  If the
  35.      invoking program uses any of these routines, the group
  36.      structure will be overwritten in the call to _i_n_i_t_g_r_o_u_p_s.
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Sprite v1.0               May 12, 1986                          1
  64.  
  65.  
  66.  
  67.